package com.diandiansong.app.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import diandiansong.library.utils.BaseEntity;

public class OrderIndexInfo extends BaseEntity {

    /**
     * message : null
     * data : [{"id":"105","order_id":"180803104511276014","order_status":"1","order_amount":"0.01","create_time":"2018-08-03 10:45:11",
     * "item":[{"commodity_name":"香菇","item_img":"http://h3.mobilekoudai.com/uploads/2018-07-26/2b83287749f3bee8c65967af215118e6ed.jpg","unit":"斤",
     * "price":"0.01","number":"1","spec_info":"1斤，2斤，3斤，"}],"good_sum":"1","order_status_name":"待发货"},{"id":"104","order_id":"180803104431652574",
     * "order_status":"0","order_amount":"0.03","create_time":"2018-08-03 10:44:31","item":[{"commodity_name":"香菇",
     * "item_img":"http://h3.mobilekoudai.com/uploads/2018-07-26/2b83287749f3bee8c65967af215118e6ed.jpg","unit":"斤","price":"0.01","number":"3",
     * "spec_info":"1斤，2斤，3斤，"}],"good_sum":"3","order_status_name":"待付款"},{"id":"103","order_id":"180803103614627581","order_status":"1",
     * "order_amount":"0.04","create_time":"2018-08-03 10:36:14","item":[{"commodity_name":"金针菇","item_img":"http://h3.mobilekoudai
     * .com/uploads/2018-07-26/45e9ce45d9b1805767a3c3f0e67e54aa43.jpg","unit":"斤","price":"0.04","number":"1","spec_info":"1斤，2斤，3斤，"}],
     * "good_sum":"1","order_status_name":"待发货"},{"id":"102","order_id":"180803102331991903","order_status":"0","order_amount":"0.02",
     * "create_time":"2018-08-03 10:23:31","item":[{"commodity_name":"空心菜","item_img":"http://h3.mobilekoudai
     * .com/uploads/2018-07-26/62067781f3aebb65c16b5942c8d3aa3ae8.jpg","unit":"斤","price":"0.01","number":"2","spec_info":"小+1斤，2斤，3斤，"}],
     * "good_sum":"2","order_status_name":"待付款"},{"id":"101","order_id":"180803094842571517","order_status":"1","order_amount":"0.12",
     * "create_time":"2018-08-03 09:48:42","item":[{"commodity_name":"金针菇","item_img":"http://h3.mobilekoudai
     * .com/uploads/2018-07-26/45e9ce45d9b1805767a3c3f0e67e54aa43.jpg","unit":"斤","price":"0.04","number":"3","spec_info":"1斤，2斤，3斤，"}],
     * "good_sum":"3","order_status_name":"待发货"},{"id":"100","order_id":"180803094825011396","order_status":"1","order_amount":"0.12",
     * "create_time":"2018-08-03 09:48:25","item":[{"commodity_name":"金针菇","item_img":"http://h3.mobilekoudai
     * .com/uploads/2018-07-26/45e9ce45d9b1805767a3c3f0e67e54aa43.jpg","unit":"斤","price":"0.04","number":"3","spec_info":"1斤，2斤，3斤，"}],
     * "good_sum":"3","order_status_name":"待发货"},{"id":"99","order_id":"180803094247779761","order_status":"0","order_amount":"0.12",
     * "create_time":"2018-08-03 09:42:47","item":[{"commodity_name":"金针菇","item_img":"http://h3.mobilekoudai
     * .com/uploads/2018-07-26/45e9ce45d9b1805767a3c3f0e67e54aa43.jpg","unit":"斤","price":"0.04","number":"3","spec_info":"1斤，2斤，3斤，"}],
     * "good_sum":"3","order_status_name":"待付款"},{"id":"93","order_id":"180731100346302529","order_status":"0","order_amount":"0.01",
     * "create_time":"2018-07-31 10:03:46","item":[{"commodity_name":"空心菜","item_img":"http://h3.mobilekoudai
     * .com/uploads/2018-07-26/62067781f3aebb65c16b5942c8d3aa3ae8.jpg","unit":"斤","price":"0.01","number":"1","spec_info":"1斤，2斤，3斤，"}],
     * "good_sum":"1","order_status_name":"待付款"},{"id":"30","order_id":"180720164742123675","order_status":"1","order_amount":"14.00",
     * "create_time":"2018-07-20 16:47:42","item":[{"commodity_name":"精品花生","item_img":"http://h3.mobilekoudai
     * .com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"斤","price":"7.00","number":"2","spec_info":""}],"good_sum":"2",
     * "order_status_name":"待发货"},{"id":"29","order_id":"180720163557814659","order_status":"1","order_amount":"2.90","create_time":"2018-07-20
     * 16:35:57","item":[{"commodity_name":"白菜","item_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"个",
     * "price":"1.45","number":"2","spec_info":""}],"good_sum":"2","order_status_name":"待发货"},{"id":"26","order_id":"180720160508420855",
     * "order_status":"1","order_amount":"2.90","create_time":"2018-07-20 16:05:08","item":[{"commodity_name":"白菜",
     * "item_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"个","price":"1.45","number":"2",
     * "spec_info":""}],"good_sum":"2","order_status_name":"待发货"},{"id":"20","order_id":"180720000208245987","order_status":"0",
     * "order_amount":"7.00","create_time":"2018-07-20 00:02:08","item":[{"commodity_name":"精品花生","item_img":"http://h3.mobilekoudai
     * .com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"斤","price":"7.00","number":"1","spec_info":""}],"good_sum":"1",
     * "order_status_name":"待付款"},{"id":"19","order_id":"180720000208398514","order_status":"0","order_amount":"7.00","create_time":"2018-07-20
     * 00:02:08","item":[{"commodity_name":"精品花生","item_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg",
     * "unit":"斤","price":"7.00","number":"1","spec_info":""}],"good_sum":"1","order_status_name":"待付款"},{"id":"18",
     * "order_id":"180720000155324583","order_status":"0","order_amount":"7.00","create_time":"2018-07-20 00:01:55",
     * "item":[{"commodity_name":"精品花生","item_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"斤",
     * "price":"7.00","number":"1","spec_info":""}],"good_sum":"1","order_status_name":"待付款"},{"id":"12","order_id":"180719231614017685",
     * "order_status":"0","order_amount":"1.45","create_time":"2018-07-19 23:16:14","item":[{"commodity_name":"白菜",
     * "item_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"个","price":"1.45","number":"1",
     * "spec_info":""}],"good_sum":"1","order_status_name":"待付款"},{"id":"8","order_id":"180719224224192952","order_status":"0",
     * "order_amount":"4.35","create_time":"2018-07-19 22:42:24","item":[{"commodity_name":"白菜","item_img":"http://h3.mobilekoudai
     * .com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg","unit":"个","price":"1.45","number":"3","spec_info":""}],"good_sum":"3",
     * "order_status_name":"待付款"},{"id":"4","order_id":"180718214959031344","order_status":"0","order_amount":"7.00","create_time":"2018-07-18
     * 21:49:59","item":[{"commodity_name":"精品花生","item_img":"http://h3.mobilekoudai.com/uploads/e3fe24ae7ac071bf79642f6ba9a0950cc6.jpg",
     * "unit":"斤","price":"7.00","number":"1","spec_info":""}],"good_sum":"1","order_status_name":"待付款"}]
     */

    @SerializedName("data")
    private List<Data> data;

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data {
        /**
         * id : 105
         * order_id : 180803104511276014
         * order_status : 1
         * order_amount : 0.01
         * create_time : 2018-08-03 10:45:11
         * item : [{"commodity_name":"香菇","item_img":"http://h3.mobilekoudai.com/uploads/2018-07-26/2b83287749f3bee8c65967af215118e6ed.jpg",
         * "unit":"斤","price":"0.01","number":"1","spec_info":"1斤，2斤，3斤，"}]
         * good_sum : 1
         * order_status_name : 待发货
         */

        @SerializedName("id")
        private String id;
        @SerializedName("order_id")
        private String orderId;
        @SerializedName("order_status")
        private String orderStatus;
        @SerializedName("order_amount")
        private String orderAmount;
        @SerializedName("create_time")
        private String createTime;
        @SerializedName("good_sum")
        private String goodSum;
        @SerializedName("order_status_name")
        private String orderStatusName;
        @SerializedName("item")
        private List<Item> item;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(String orderStatus) {
            this.orderStatus = orderStatus;
        }

        public String getOrderAmount() {
            return orderAmount;
        }

        public void setOrderAmount(String orderAmount) {
            this.orderAmount = orderAmount;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getGoodSum() {
            return goodSum;
        }

        public void setGoodSum(String goodSum) {
            this.goodSum = goodSum;
        }

        public String getOrderStatusName() {
            return orderStatusName;
        }

        public void setOrderStatusName(String orderStatusName) {
            this.orderStatusName = orderStatusName;
        }

        public List<Item> getItem() {
            return item;
        }

        public void setItem(List<Item> item) {
            this.item = item;
        }

        public static class Item {
            /**
             * commodity_name : 香菇
             * item_img : http://h3.mobilekoudai.com/uploads/2018-07-26/2b83287749f3bee8c65967af215118e6ed.jpg
             * unit : 斤
             * price : 0.01
             * number : 1
             * spec_info : 1斤，2斤，3斤，
             */

            @SerializedName("commodity_name")
            private String commodityName;
            @SerializedName("item_img")
            private String itemImg;
            @SerializedName("unit")
            private String unit;
            @SerializedName("price")
            private String price;
            @SerializedName("number")
            private String number;
            @SerializedName("spec_info")
            private String specInfo;

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public String getItemImg() {
                return itemImg;
            }

            public void setItemImg(String itemImg) {
                this.itemImg = itemImg;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getSpecInfo() {
                return specInfo;
            }

            public void setSpecInfo(String specInfo) {
                this.specInfo = specInfo;
            }
        }
    }
}
